<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content=" viewport-fit=cover,width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>提示</title>
    <style>
        .appLogo {
            position: absolute;
            top: 32%;
            left: 50%;
            margin-left: -36px;
            text-align: center;
        }

        .cover {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
        }
        .prompt {
            position: relative;
            text-indent: 28%;
            margin-top: 20%;
            color: #fff;
        }

        .arrow {
            position: absolute;
            top: -50%;
            right: 6%;
        }

    </style>
</head>

<body>
    <div class="appLogo">
        <!-- app图标 -->
        <img width="72px;" height="72px;" src=""
            alt="logo">
        <!-- app名称 -->
        <div>设备云助手</div>
    </div>

    <div class="cover" id="cover">
        <div class="prompt">
            <div class="arrow">
                <!-- 右上角图片 -->
                <img width="80px" height="auto" src="
                        aM9cImWsAO4hA0GzAAl8++fUJnxTAD/RU5U/rOvLpgAJVwAbA/iFtsyfpfwfuQCQzWYBkvv2b7YuIFk4WZUrs7nBFMAvnK7KM7K5wcYA/qAjubi/1Py/FbkYQLMACUEfVZ6ejfBNAfw1/+9me5N1AX6gMfMvZiO5xq7gX8wCJGv0nxL+wmyFbwrgD85Q5bdzudEUIP7AlvC+6nqKKUCy0JW5v5RXUiANnCmA/zhPld+iOpZ/TQH8VoAJOfcfNg2MNY5kfiHl1czWlKUDyCyAf2//xFyFbwoQf5yvyuPrNYWwLsAL8/8ruWCQKrMAycElgcFflVmA5ACZv5Yz95FrbASZW5+KzALEE2co4X9DdWz/MgXwD1eq8tPkUsDUC9YFxA97ifnfiVzQ576k8v+bBfAf5SJ8YHI+wjcFiB8gryHq+qkwKjTEB2dTzcofDn6YYQqQLAxV5SfzGfzZIDB+QNZPeP4QALKenOfvH7MAycGNInzg2TCEbxYgPtiP+S25zJ9w+R5CLvsn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ASUVORK5CYII="
                    alt="">
            </div>
            <p>1、点击右上角的
                <!-- 目录图片 -->
                <img width="30px" height="30px" src=""
                    alt="">
            </p>
            <p>2、选择在浏览器
                <!-- 浏览器图片 -->
                <img height="30px" width="30px" src="
                29x2k4hIYqceNGFZychiM5+SjnEq0QMTEfYupUb+YKG9jQyDDavqjoD53b3M7OzoBI9Vi7dj0/N807xCVKIdzc3BAREc73d+78FJmZJw22T0g4CqXyHQQHL8Lx49/zY21tbQb73L59G7t3f8b3iYs4RScExQk2NjYoLr6E7OwcWFlZGWx/4kQ63z579oxf3IEDB3HhQqFRnpMnT+HKlRLOFRUVIS4hKEiiYIlw6NCRzmOGIJP9F9Q+ffqUC1FZWWmUq6Ojg8cUhJAQhckB2gsRYv78QAwZMgR1dXXsV73Ijz1+/NhgH6VyRY/5Ll4s5FzESdyiEYJyB8K5c/n8VieUlJTi/PnfuhVkzZp3WZ5h3yM+4iCurtyiEGLKFE30SGNXwKNHj7B69Rp4enph7Fh3TJv2OpsX0nSGk1IZ2mNOgWvy5MniEcLNTc631dXVBqPGbds+wd69X/A5gRAcvEDHdZJLzMrKYB4njXsFQxOuwOXu3jueo1fScMH/P3z40GjbpKQUXL1ahvj4/WhsbOzMSygkp60Af/9ZLJCqxdmzv+g9j8BlKPZ4afUIYy5TQGHh75g5M4C3JzeYmpqiI4KAGTNe61YI8h6iC6iEX9acyY8mPBoiy5Yp4OXlpbeNi4tzt/0dHR11uEUhRE2NJjUeN87D7L5z587p9rMlSxazQG0jJk6c+L/cwsPDQ4dbFEJcv36db318fMzuK/yy+oMuGXbs2A61+lfcvFmBgoI8zJo1k3/m6+ujwy0KIWjME6geaW1t3ikFD2IKJkzwZBHofs4RHDxfh1sUQqjVBTxucHYegzlz3jSrr5OTeSm7XO6Kdevew+jRozkncYtGiKamZp5oEaKjt5rsPWgynD59mtl8sbExfJuTk8u5RZV9JiYm4cmTJ3zsLl36tkl9Nm6MNHsoaWKHYZwrIeGY+NLwmpoapKSo+P6+fZ+bVE6jCnVPQVzE2Vugp+r29NbJiosvs2wwiC/czJs3F6dPn2bjuMXgJFtfXw8/Pz/mHk1/sJcq2lu3xvC7QpSlOso0IyKi2MX9g/Hjx7GcId1gFYk8BlWnNm/+wGQOOjdxGEvzX6oQQjktLGwVL72TuztzJpdFjyEmZZLGoCnnr+IcvY0+WQQuLy9nE+Zyfgs7ODjg8OF45lWyEBj4lt7J0ZRFIDqXQhHKAqjyvvjKfb/kR6n1hg3rO5f87t6tQ36+GqWlpbh1q5rPJ7t27cCoUaO6nVBVqm8RF3ewfy756QZBcmzZEsXdKpXXTAEt/VFsQi6yN73DSxWia1VqwYIgzJ7tz4aDN78bHBzstfWFBu1jAWV8vSMvTz3wHgvoD5CemJGEkISQhJCEkIQwT4hGSQa0kRB1kg6oIyH+lHTAJRIiW9IB2SREJjTvTlsq/iYNSAh6cCnGgoWIZtYqvAl8jZJDaN6MtSR8A+0b0F3fDVczG87sDQsRIZHZR8w6ng+oaO1tCzTviVcNYAHo2ugBrs3aa+6sR+hrPFjbmKqutNpKrw3L+umFt2snxMvQ/JFGJvT8kca/AgwAl+xNVI+vj5sAAAAASUVORK5CYII="> 中打开
            </p>
            <p>即可正常下载</p>
        </div>
    </div>
    <script>
        var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
        /**
         * 初始化加载程序
         */
        window.onload = function () {

            if (isMobile()) {
                checkIsAppleDevice();
            }
        }

        // 判断是不是移动端
        function isMobile() {
            var flag = false;
            var userAgentInfo = navigator.userAgent;
            for (var v = 0; v < Agents.length; v++) {
                if (userAgentInfo.indexOf(Agents[v]) > 0) {
                    flag = true;
                    break;
                }
            }
            return flag;
        }

        function checkIsAppleDevice() {
            // 判断浏览器所在机器操作系统版本
            var u = navigator.userAgent,
                version = '';
            var ios = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
            var iPad = u.indexOf('iPad') > -1;
            var iPhone = u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1;
            if (ios || iPad || iPhone) {
                // App 在 App Store 的地址
                // 可在App Store中分享给微信好友 然后用电脑版微信打开链接后复制链接粘贴即可
                window.location.href =
                    "https://itunes.apple.com/cn/app/%E5%8E%A6%E9%97%A8%E6%AF%94%E7%89%B9%E4%BC%8F%E7%A7%91%E6%8A%80%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8/id1456580470?mt=8"
            } else if (u.indexOf('Android') > -1 ||
                //android
                u.indexOf('Linux') > -1) {
                if (isWechat()) {
                    document.getElementById("cover").style.display = "block";
                } else {
                    // apk 地址
                    window.location.href = "https://api.btfxm.com/public/appbuild/esbtfmobile.apk";
                }
            } 
        }
        // 判断是不是微信浏览器

        function isWechat() {
            var isWechat = false;
            var ua = navigator.userAgent.toLowerCase();

            if (ua.match(/MicroMessenger/i) == "micromessenger") {
                isWechat = true;
                return isWechat;
            } 
        }
    </script>
</body>

</html>
